package com.example.springboot.utils;

/**
 * Created by wuning at 2018/9/11 10:08
 **/
public interface Constant {

    int CODE_USERNAME_INVALIDATED = 400;

    int CODE_PASSWORD_INVALIDATED = 401;

    int CODE_EMAIL_INVALIDATED = 402;

    int CODE_PHONE_INVALIDATED = 403;

    int CODE_VERIFYCODE_INVALIDATED = 404;

    /*密码和数据库的比较不一致*/
    int CODE_PASSWORD_NOT_MATCH = 489;

    /*两个密码比较不一致*/
    int CODE_PASSWORD_NOT_SAME = 488;

    int CODE_USER_EXIST_NO = 479;

    int CODE_USER_EXIST = 499;

    int CODE_EMAIL_EXIST = 498;

    int CODE_PHONE_EXIST = 497;


}
